Repository navigation
ci: skip macOS runners on PRs into develop - #697
Merged
Merged
Conversation
The macOS jobs finish in about a minute but can wait up to eleven minutes for a runner, and twice this week were cancelled before one was assigned. PRs into develop are tested on a Mac before merging, so they now run Tests and Agent tests on Ubuntu and Windows only. PRs into main, pushes to main and manual runs keep all three operating systems, so the release PR still checks macOS on a clean runner. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
developrunTestsandAgent testson Ubuntu and Windows only.main, pushes tomainand manual runs (workflow_dispatch) keep macOS, Ubuntu and Windows.docs/RELEASING.mddescribes the split.Why
The macOS jobs run in about a minute (median 0.8–0.9 min over the last 40 runs), but runner queueing reached about 11 minutes, and recent runs for #695 and #696 were cancelled before a macOS runner was assigned. In the same 40 runs, no failure was macOS-only; the three failures were on Windows. PRs into
developare tested on a Mac (bun test,go test) before merging, and the release PR intomainstill checks macOS on a clean runner.How
Both matrices use
fromJSON(github.base_ref == 'develop' && '[ubuntu, windows]' || '[macos, ubuntu, windows]').github.base_refis only set forpull_requestevents, so pushes and manual runs get the full matrix.Test plan
developruns Tests and Agent tests on Ubuntu and Windows only.🤖 Generated with Claude Code